home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr42 / smixc111.zip / DETECT.H < prev    next >
Text File  |  1995-02-11  |  916b  |  19 lines

  1. /* ██ DETECT.H ████████████████████████████████████████████████████████████ */
  2.  
  3. #define TRUE 1
  4. #define FALSE 0
  5.  
  6. int detect_settings(int *baseio, int *irq, int *dma, int *dma16);
  7.   /* Detects sound card settings using BLASTER environment variable */
  8.   /* Parameters:                                                    */
  9.   /*   baseio    Sound card base IO address                         */
  10.   /*   irq       Sound card IRQ                                     */
  11.   /*   dma       Sound card 8-bit DMA channel                       */
  12.   /*   dma16     Sound card 16-bit DMA channel (0 if none)          */
  13.   /* Returns:                                                       */
  14.   /*   TRUE      Sound card settings detected successfully          */
  15.   /*   FALSE     Sound card settings could not be detected          */
  16.  
  17. /* ████████████████████████████████████████████████████████████████████████ */
  18.  
  19.